import BaseCURDApi from '@/framework/infra/base/BaseCURDApi'
import request from '@/utils/request'

class ProductCategoryApi extends BaseCURDApi {
  constructor() {
    super('pms/product-category')
  }

  list = (params) => {
    return request.get(this.absUrl(), { params })
  }
}

export const productCategoryApi = new ProductCategoryApi()
